In Git, parallel development is achieved through branching. Formally, a branch is an independent line of development that diverges from the main timeline. This allows multiple tracks of work to coexist as Internal Objects without interfering with the stability of the primary codebase.
1. The Primordial State: Master
Every repository begins with a default branch known as master. This is Git’s default branch. When you run git branch to list all branches, the asterisk (*) next to it indicates that it is the currently checked-out environment—your active universe.
2. The Feature Branch
While some branches are short-lived, a feature branch is a longer-running type of topic branch created with the specific intention of developing a specific feature. This isolates "work-in-progress" code from the production-ready "master" branch.
Analogy: Think of master blueprints for a skyscraper. To test solar panels, you use transparent overlays (feature branches). You can experiment and make mistakes on the overlays without ever risking the integrity of the original blueprints.